package com.ruoyi.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商品规格分类对象 spec_product
 *
 * @author cs
 * @date 2024-07-25
 */
public class SpecProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Excel(name = "主键ID")
    private Long id;


    /** 规格名称 */
    @Excel(name = "规格名称")
    private String specName;

    /** 商品规格 */
    @Excel(name = "商品规格")
    private String productName;

    /** 商品属性 */
    @Excel(name = "商品属性")
    private String productProp;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSpecName(String specName)
    {
        this.specName = specName;
    }

    public String getSpecName()
    {
        return specName;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setProductProp(String productProp)
    {
        this.productProp = productProp;
    }

    public String getProductProp()
    {
        return productProp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("specName", getSpecName())
                .append("productName", getProductName())
                .append("productProp", getProductProp())
                .toString();
    }
}
